<?php
class Home extends CI_Controller {

    public function __construct() {
        parent::__construct();
        // Your own constructor code
    }

    public function index() {
       $this->load->model('Home_model');
       $data['res'] = $this->Home_model->get();

       $this->load->view('header');
       $this->load->view('home_view',$data);
       $this->load->view('footer');
    }
}

?>
